{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<h3>数据预处理-标准化</h3>\n",
       "<span><strong>\n",
       "定义<br>&nbsp&nbsp\n",
       "通过对原始数据进行变换把数据变换到均值为0,标准差为1范围内\n",
       "</strong><img src=\"1-05.png\"></span>\n"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "%%html\n",
    "<h3>数据预处理-标准化</h3>\n",
    "<span><strong>\n",
    "定义<br>&nbsp&nbsp\n",
    "通过对原始数据进行变换把数据变换到均值为0,标准差为1范围内\n",
    "</strong><img src=\"1-05.png\"></span>"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "\"\"\"\n",
    "sklearn.preprocessing.StandardScaler()\n",
    "    处理之后对每列来说,所有数据都集中在均值为0附近,标准差为1\n",
    "    Standard.fit_transform(x)\n",
    "        x:numpy array 格式数据[n_sample,n_features]\n",
    "    返回值:转换后的形状相同的array\n",
    "\"\"\""
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
